package pri.hillchen.springbootstd.sso.service.impl;

import org.springframework.stereotype.Service;
import pri.hillchen.springbootstd.sso.entity.User;
import pri.hillchen.springbootstd.sso.service.UserService;

/**
 * Created by hillchen on 2017/12/25.
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public User findUser(String loginName) {
        User user = new User();
        user.setLoginName(loginName);
        user.setPassword(loginName+"123");
        return user;
    }
}
